﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CTP.CRM.Core.Common.Dto
{
    public class UnifyDtmResultDto
    {
        public string dtm_result { get; set; }

        public UnifyDtmResultDto()
        {
        }

        public UnifyDtmResultDto(bool isSuccess)
        {
            dtm_result = isSuccess ? "SUCCESS" : "FAILURE";
        }

        public UnifyDtmResultDto(DtmResult dtmResult)
        {
            dtm_result = dtmResult.ToString();
        }
    }
}
